<include file="Public/head" />
<div class="ad-banner">
    <p style="background-image:url(__HOME_IMAGES__/default/images/index/ad.jpg);"></p>
</div>
<div id="wrapper">
    <div class="huodong">
        <ul>
            <volist name="activity" id="vo">
                <li>
                    <div class="img"><img src="/data/upload/article/{$vo.article_img}"></div>
                    <div class="txt">
                        <p>{$vo.article_title}</p>
                        <a class="btn" href="javascript:;"><span>查看详情</span></a>
                    </div>
                    <div class="more">
                        {$vo.article_content}
                    </div>
                </li>
            </volist>
        </ul>
    </div>
</div>
<!--wrapper end-->
<script>
$(function() {
    jQuery(".huodong").slide({ titCell: "li .btn", targetCell: ".more", trigger: "click", effect: "slideDown", delayTime: 300, returnDefault: false });
});
</script>
<script>
$(function() {
    $("#btn").click(function() {
        var name = $("#username").val();
        var password = $("#password").val();
        $.post('/index.php/Login/dologin', { name: name, pwd: password }, function(e) {
            if (e.result == 1) {
                //window.location.href='/index.php/Member/index';
                window.location.href = '<?php echo U('
                Home / Login / agreement ')?>';
            } else {
                alert(e.message);
            }
        }, 'json')

    })
})
</script>
<include file="Public/foot" />